<?xml version="1.0" ?>
<!DOCTYPE msxconfig SYSTEM 'msxconfig2.dtd'>
<msxconfig>

  <info>
    <manufacturer>Sanyo</manufacturer>
    <code>MPC-2/Wavy2</code>
    <release_year>1985?</release_year>
    <description>A simple 64kB Japanese MSX1 machine</description>
    <type>MSX</type>
  </info>

  <!-- This config is based on Alexandre Souza's machine with serial number 11248522

       Z80 scf: 01ED09ED01FC09FC (turboR)
       Z80 cpl: 3AFF12D7 (standard)
       Z80 out (c),0: FF (turboR)
       PSG pin 6/7 quirk: C (YES)
       PSGmask: AY8910

       mobo shows:
       PSG: GI AY-3-8910
       CPU: T7775 MSX-ENGINE
       VDP: T6950
       PPI: in T7775?
       printer port
       2 normal slots

       last 32kB area of slot 0 shows 0xB0 bytes. (bad/no pull ups?)

       TODO: SWIOSCAN says: ID=135 found
  -->

  <CassettePort/>

  <devices>

    <PPI id="ppi">
      <sound>
        <volume>16000</volume>
      </sound>
      <io base="0xA8" num="4"/>
      <keyboard_type>jp_ansi</keyboard_type>
      <has_keypad>false</has_keypad>
      <key_ghosting_sgc_protected>false</key_ghosting_sgc_protected> <!-- TODO: not entirely sure. -->
      <code_kana_locks>true</code_kana_locks>
      <graph_locks>false</graph_locks>
    </PPI>

    <VDP id="VDP">
      <version>T6950NTSC</version>
      <io base="0x98" num="2"/>
    </VDP>

    <PSG id="PSG">
      <type>AY8910</type>
      <keyboardlayout>50on</keyboardlayout>
      <sound>
        <volume>21000</volume>
      </sound>
      <io base="0xA0" num="2" type="O"/>
      <io base="0xA2" num="1" type="I"/>
    </PSG>

    <PrinterPort id="Printer Port">
      <io base="0x90" num="2"/>
    </PrinterPort>

    <primary slot="0">
      <ROM id="MSX BIOS with BASIC ROM">
        <rom>
          <filename>mpc2_basic-bios1.rom</filename>
          <sha1>4d0c37ad722366ac7aa3d64291c3db72884deb2d</sha1>
        </rom>
        <mem base="0x0000" size="0x8000"/>
      </ROM>
    </primary>

    <primary external="true" slot="1"/>

    <primary external="true" slot="2"/>

    <primary slot="3">
      <RAM id="Main RAM">
        <mem base="0x0000" size="0x10000"/>
      </RAM>
    </primary>
  </devices>

</msxconfig>
